package com.ruoyi.district.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地铁管理对象 fang_metro
 * 
 * @author ruoyi
 * @date 2025-01-13
 */
public class FangMetro extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 城市id */
    @Excel(name = "城市id")
    private Integer city;

    /** 地铁线路名称 */
    @Excel(name = "地铁线路名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Integer ordid;

    /** 状态 0禁用 1正常 */
    @Excel(name = "状态 0禁用 1正常")
    private Integer status;
    private Integer provinceId;


    // getter 和 setter 方法
    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }


    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCity(Integer city) 
    {
        this.city = city;
    }

    public Integer getCity() 
    {
        return city;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrdid(Integer ordid) 
    {
        this.ordid = ordid;
    }

    public Integer getOrdid() 
    {
        return ordid;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("city", getCity())
            .append("name", getName())
            .append("ordid", getOrdid())
            .append("status", getStatus())
            .toString();
    }
}
